import styled from "styled-components";

export const RightWrapper = styled.div`
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  .btns {
    display: flex;
    span {
      margin: 0 10px;
      cursor: pointer;
      font-size: 14px;
      color: #222;
    }
    margin-right: 10px;
  }
  .profile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #717171;
    width: 75px;
    height: 42px;
    padding: 5px 5px 5px 12px;
    border-radius: 24px;
    border: 1px solid #ddd;
    cursor: pointer;
    position: relative;
    ${(props) => props.theme.mixin.boxShadow}

    .popup-panel {
      width: 270px;
      position: absolute;
      right: 0;
      top: 50px;
      border-radius: 10px;
      box-shadow: 0 0 4px 3px rgba(0, 0, 0, 0.04);
      background-color: #fff;
      padding: 10px 0;
      color: ${(props) => props.theme.font.primary};
      .popup-panel-item {
        height: 40px;
        line-height: 40px;
        padding: 0 20px;
        &:hover {
          background-color: #f7f7f7;
        }
      }
      .top {
        border-bottom: 2px solid #f3f3f3;
        .popup-panel-item:nth-child(1) {
          font-weight: 600;
        }
      }
      .bottom {
      }
    }
  }
`;
